#include <REGX52.H>
#include "Key.h"
#include "Delay.h"
#include "Nixie.h"
#include "Buzzer.h"

unsigned char KeyNum;
unsigned int i;

void main() {
    Nixie(1,0);
    while(1) {
        KeyNum = Key();
        if(KeyNum) {
            Buzzer_Time(500);
            Nixie(1,KeyNum);
        }
    }
}